In SAS® Federation Server, using the ENCRYPT data masking function with the AES algorithm might yield poor performance. For example, you might encounter this issue when you run code similar to the following:
SYSCAT.DM.MASK ('ENCRYPT',<data column>, 'ALG', 'AES', 'DETERMINISTIC', 'YES',EXPAND_PREC', 'YES')
Using ENCRYPT results in much slower performance than using other encryption methods. As a workaround, you can use another encryption method.
If you want to use AES, then you need to install the hot fix. Click the Hot Fix tab in this note to access the hot fix for this issue.
The hot fix requires that you set a configuration option:
<Option type="Boolean" name="env:SYSCAT.SQFDM.AES_TO_AES_PBE">1</Option>
This option maps the AES algorithm to the new AES_PBE algorithm, which performs better.
Additional ENCRYPT and DECRYPT parameters for the new method are as follows:
MAC_KEY, <MAC key string constant>
When DETERMINISTIC is true, this parameter is used to generate an AES salt and 16-byte initialization vector. The salt is generated once per invocation for all column values. The IV is generated per column value. A default is used if not specified, but that is not recommended.
SALT_LEN, <integer in [1,16]>
This parameter sets the octet length of the salt values used with the encryption. The default is 8.
There is an additional DM package configuration option, which you set as follows:
alter server {options PACKAGE(name 'DM', set MAC_KEY '<mac key>')};
The option is the default for the MAC_KEY function argument.
Operating System and Release Information
SAS System | SAS Federation Server | Microsoft® Windows® for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 10 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Professional x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
64-bit Enabled AIX | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
64-bit Enabled Solaris | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
HP-UX IPF | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Linux for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Solaris for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.